package com.tongji.housediy.controller
{
	import com.tongji.housediy.events.goodsEvent.GetBrandNameEvent;
	import com.tongji.housediy.model.BrandModel;
	
	import org.robotlegs.mvcs.Command;
	
	/**
	 * 
	 * @author liaoruohuai
	 * 2011-4-2
	 */
	public class UpdateBrandModelcmd extends Command
	{
		[Inject]
		public var event:GetBrandNameEvent;
		
		[Inject]
		public var nameModel:BrandModel;
		
		override public function execute():void
		{
			nameModel.updateBrandModel(event.brandModel);
		}
	}
}